package com.hnas.account.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hnas.core.orm.BaseEntity;

/**
 * 卡账户信息
 * @author zhd.yu
 *
 */
@Entity
@Table(name = "tbl_acc_cardinfo")
public class AccCard extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1260317958188636277L;
	@Id
	@Column(name = "id")
	private String id;//卡账户id
	@Column(name = "acc_id")
	private String accId;//账户id
	@Column(name = "card_no")
	private String cardNo;//卡号
	@Column(name = "card_type")
	private Integer cardType;//卡类型
	@Column(name = "card_date")
	private String cardDate;//制卡时间
	@Column(name = "valid")
	private Boolean valid;//是否有效
	@Column(name = "acc_no")
	private String accNo;//卡账户号
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAccId() {
		return accId;
	}
	public void setAccId(String accId) {
		this.accId = accId;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public Integer getCardType() {
		return cardType;
	}
	public void setCardType(Integer cardType) {
		this.cardType = cardType;
	}
	public String getCardDate() {
		return cardDate;
	}
	public void setCardDate(String cardDate) {
		this.cardDate = cardDate;
	}
	public Boolean getValid() {
		return valid;
	}
	public void setValid(Boolean valid) {
		this.valid = valid;
	}
	public String getAccNo() {
		return accNo;
	}
	public void setAccNo(String accNo) {
		this.accNo = accNo;
	}
	
}
